<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>会员中心--珍医网</title>

    [#include "inc_head.html"/]
</head>
<body>
[#include "inc_header.html"/]
[#include "inc_focus.html"/]
<div class="dhnav">当前位置：<a href="#" target="_blank">首页</a>&nbsp;&gt;&nbsp;<span class="col">会员中心</span></div>
<div class="main">
    <div class="l">
        <div class="box">
            <div class="tit"><h2 class="hico_l12"><a href="/my_goods.jspx">积分兑换</a></h2></div>
            <div class="l_jfcon">

                [@InfoList nodeId=98 limit=1;list]
                [#assign size=0]
                [#list list as info]
                [#if size==0]
                <a href="/my_goods.jspx">
                    <img src="${info.customs['bigImage']}" width="296" height="219"/>
                </a>
                [/#if]
                [#if info_has_next][#assign size=size+1 /][/#if]
                [/#list]
                [/@InfoList]

                <ul class="jflist">
                    [@InfoList nodeId=98 limit=5;list]
                    [#assign size=0]
                    [#list list as info]
                    [#if size>0]
                    <li><a href="/my_goods.jspx"><img src="${info.customs['smallImage']}" alt="${info.title}"
                                                      width="126" height="70"/></a>

                        <p>礼品名称：${info.title}<br/>所需积分：${info.customs["score"]}分</p></li>
                    [/#if]
                    [#if info_has_next][#assign size=size+1 /][/#if]
                    [/#list]
                    [/@InfoList]
                </ul>
            </div>
        </div>
        <div class="box">
            <div class="tit"><h2 class="hico_l13">我的学习</h2><a href="/my_study.jspx" class="more">更多&gt;&gt;</a></div>
            <ul class="list14">
                [#if studies??]
                [#list studies as study]
                <li>
                    <a href="/info/${study.newsId!}.jspx" target="_blank">${study.newsTitle!}</a>
                    <a href="javascript:delf(${study.newsId})" style="float: right">删除</a>
                </li>
                [/#list]
                [/#if]
            </ul>
        </div>
        <div class="box">
            <div class="tit"><h2 class="hico_l14">我的收藏</h2><a href="/my_favorite.jspx" class="more">更多&gt;&gt;</a></div>
            <ul class="list14">
                [#if favorites??]
                [#list favorites as favorite]
                <li>
                    <a href="/info/${favorite.newsId!}.jspx" target="_blank">${favorite.newsTitle!}</a>
                    <a href="javascript:delf(${favorite.newsId})" style="float: right">删除</a>
                </li>
                [/#list]
                [/#if]
            </ul>
        </div>
        <!--<div class="box">-->
        <!--<div class="tit"><h2 class="hico_l15">游戏专区</h2></div>-->
        <!--<ul class="plist3">-->
        <!--<li><a href="#" target="_blank" ><img src="img/mpic01.jpg" alt="病例管理" width="190" height="105"/></a><a href="#" target="_blank" >游戏名称</a></li>-->
        <!--<li><a href="#" target="_blank" ><img src="img/mpic01.jpg" alt="病例管理" width="190" height="105"/></a><a href="#" target="_blank" >游戏名称</a></li>-->
        <!--<li><a href="#" target="_blank" ><img src="img/mpic01.jpg" alt="病例管理" width="190" height="105"/></a><a href="#" target="_blank" >游戏名称</a></li>-->
        <!--</ul>-->
        <!--</div>-->
        <script type="text/javascript">
            function delf(newsid) {
                $.get("/user_favorite/delete.jspx?newsid=" + newsid, function (json) {
                    alert(json.message);
                    window.location.href = window.location.href;
                })
            }
        </script>
    </div>
    <div class="r">
        [#include "sys_member_my_right.html" /]
    </div>
</div>

[#include "inc_fankui.html"/]
[#include "inc_footer.html"/]
</body>
</html>

